using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;

namespace Client;


public delegate void DelegateTest();
public partial class TitleBarView : UserControl
{

    public static event DelegateTest WinClosedFunc;
    public static event DelegateTest WinBigFunc;
    public static event DelegateTest WinMinFunc;
    public TitleBarView()
    {
        InitializeComponent();
    }
    public void WinClosed(object sender, RoutedEventArgs args)
    {
        WinClosedFunc();
    }
    public void WinBig(object sender, RoutedEventArgs args)
    {
        WinBigFunc();
    }
    public void WinMin(object sender, RoutedEventArgs args)
    {
        WinMinFunc();
    }

}